MongoGridFSFile
PHP Manual

MongoGridFSFile::write

(PECL mongo >=0.9.0)

MongoGridFSFile::writeWrites this file to the filesystem

Descripción

public int MongoGridFSFile::write ([ string $filename= NULL ] )

Lista de parámetros

filename

The location to which to write the file. If none is given, the stored filename will be used.

Valores retornados

Returns the number of bytes written.


MongoGridFSFile
PHP Manual